package com.example.fall_guard_band.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("room")
public class Room {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("nursing_home_id")
    private Long nursingHomeId;

    @TableField("floor_id")
    private Long floorId;

    @TableField("room_number")
    private String roomNumber;

    @TableField("type")
    private Integer type;

    @TableField("capacity")
    private Integer capacity;

    @TableField("status")
    private Integer status;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;
}